//
//  personRoleView.h
//  Estate
//
//  Created by kevin on 16/9/13.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UITableView+DataSourceBlocks.h"

@class TableViewWithBlock;

@interface personRoleView : UIView{
    BOOL isOpened;
}

//关闭按钮
@property (strong, nonatomic)UIButton *closeButton;

//用户名字
@property(strong,nonatomic)UILabel *userName;

//显示职位
@property(strong,nonatomic)UILabel *roleC;

//下拉按钮
@property (strong, nonatomic)UIButton *openButton;

//下拉框
@property (strong, nonatomic)TableViewWithBlock *tb;

//确定按钮
@property (strong, nonatomic)UIButton *cerTainButton;

//取消按钮
@property (strong, nonatomic)UIButton *canCelButton;

//传入数据源
@property (strong, nonatomic)NSMutableArray *dataArray;

//选中的数据
@property(strong, nonatomic)NSDictionary *selectedData;

@property (nonatomic, copy) void(^sureBlock)(NSDictionary *);
@property (nonatomic, copy) void(^cancelBlock)();


@end
